package com.magi.builder;

import com.magi.core.AppUtils;

import java.io.IOException;

public interface IFileBuilder {
    String text();

    default void writeToFile(String filename) throws IOException {
        AppUtils.writeToFile(filename, this.text());
    }
}
